package sartoservicesync.entities.rakuten.wrapper;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import sartoservicesync.entities.rakuten.RakutenOrder;

@XmlRootElement(name = "result")
@XmlAccessorType(XmlAccessType.FIELD)
public class RakutenOrdersWrapper extends RakutenTagWrapper {
	
	@XmlElementWrapper
	@XmlElement(name = "order")
	private List<RakutenOrder> orders = new ArrayList<RakutenOrder>();

	public List<RakutenOrder> getOrders() {
		return orders;
	}

	public void setOrders(List<RakutenOrder> orders) {
		this.orders = orders;
	}

}
